
<template>
  <div>
    <button @click="show=!show">点击 {{show}}</button>
    <lm-collapse-transition>
      <div class="" v-if="show">
        显示
      </div>
    </lm-collapse-transition>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
const show=ref(false)
</script>